package com.atguigu.gulimall.search.vo;

import lombok.Data;

import java.util.List;

@Data
public class SearchParam {
    private String keyword;
    private Long catalog3Id;
    /**
     * 排序条件
     * sort=saleCount_asc/desc
     * sort=skuPrice_asc/desc
     * ...
     */
    private String sort;

    //是否只显示有货
    private Integer hasStock;

    //价格区间 _500/1_500/500_
    private String skuPrice;

    //按照品牌查询，可以多选
    private List<Long> brandId;

    //按照属性筛选
    private List<String> attrs;

    //页码
    private Integer pageNum = 1;
}
